package com.zhangtai.modules.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import lombok.Data;

import java.util.Date;

@Data
public class SecurityChangeDto {

    private static final long serialVersionUID = 1L;

    private String name;
    /**
     *
     */
    @TableId
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long changeId;
    /**
     *
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long securityId;
    /**
     * 操作类型
     */
    private Integer type;
    /**
     * 操作前状态
     */
    private Integer beforeStatus;
    /**
     * 操作后状态
     */
    private Integer afterStatus;
    /**
     * 操作时间
     */
    private Date operationTime;
    /**
     * 操作人工号
     */
    private String operaterCode;
    /**
     * 操作人姓名
     */
    private String operateName;

    private Integer isDelete;

    private String securityName;

}
